package com.css.zfzx.fwsjcj.modules.structure.repository;

import com.css.zfzx.fwsjcj.modules.group.vo.FwGroupVo;
import com.css.zfzx.fwsjcj.modules.structure.entity.FwStructureFormEntity;
import com.css.zfzx.fwsjcj.modules.structure.vo.StructureQueryVo;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @author leon
 * @date 2021/2/26 14:40
 */
public interface FwStructureFormRepositoryQueryRepository {

    Page<FwStructureFormEntity> getSructFormPage(StructureQueryVo structureQueryVo, int curPage, int pageSize);

    Page<FwStructureFormEntity> getCheckPage(String role,StructureQueryVo structureQueryVo,int curPage,int pageSize);

    Page<FwStructureFormEntity> getCheckForQgSiftPage(StructureQueryVo structureQueryVo, int curPage, int pageSize);

    Page<FwStructureFormEntity> checkForExpertSift(StructureQueryVo structureQueryVo, int curPage, int pageSize);

    List<String> getIds(StructureQueryVo structureQueryVo);

    List<String> getExpertIds(StructureQueryVo structureQueryVo);

    Map<String, Integer> getBelongtoProvince(String province, String city,String area);
}
